#ifndef FPS_ZONE_HH
# define FPS_ZONE_HH

# include <interface/sendable.hh>

# include "bounding.hh"
# include "object.hh"

class Server;

class FpsZone: public Bounding, public Sendable
{
public:
  FpsZone (const Vector3f& pos,
	   const Vector3d& rotate,
	   const Vector3f& size,
	   Server* s);

  virtual bool intersect (Bounding* obj);
  virtual bool intersectWall (Plane& p);

  void interact (Object* obj);

  virtual std::string tonet () const;

  void destroy (bool val) { destroy_ = val; }

protected:
  Server* s_;
  bool destroy_;
};

#endif /// !FPS_ZONE
